package com.chang.annoAop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CalculatorTest {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("bean.xml");
        Calculator bean = applicationContext.getBean(Calculator.class);

        bean.count(2, 3);
    }
}
